<header class="outwarp-header clearfix">
  <div class="link-tips">
    <span class="link-tips-item">{{title}}</span>
  </div>

  <div class="user-warp">
    <div class="user-info" *ngIf="hasLogin">
      <span class="user-info-head-photo"><img src="../../../assets/images/demo-head.png" alt=""></span>
      <span>{{userName}}</span>
      <ul class="user-info-list">
        <!--<li><a href="javascript:;" class="user-info-item"><span class="iconfont icon-geren"></span>个人中心</a></li>-->
        <li (click)="clear()"><a class="user-info-item"><span class="iconfont icon-tuichu"></span>退出登录</a></li>
      </ul>
    </div>
    <div class="user-info" *ngIf="!hasLogin">
      <!--<a href="javascript:;" class="login-btn" (click)="loginModal.show();">登录</a>-->
      <a href="javascript:;" class="login-btn" routerLink="admin/login">登录</a>
    </div>
  </div>


</header>

